package com.skyline.attraction.model;

import java.io.Serializable;
import java.util.Date;

import com.skyline.attraction.type.AttractionRefrenceType;
import com.skyline.base.type.Activity;
import com.skyline.common.util.CommonUtils;

public class AttractionRefrence implements Serializable {
	private static final long serialVersionUID = -8969541703553075211L;
	private Long id;
	private Long attractionId;
	private String attractionName;
	private String attractionPortrait;

	private Long refId;// 日志或相册的
	private String refPortrait;
	private String refTitle;
	private String refDigest;

	private AttractionRefrenceType refType;

	private Long providerId;
	private String providerNikename;
	private String providerPortrait;
	private String providerEmail;

	private Date createTime;
	private Date updateTime;
	
	private Activity activity;// 状态用来判断是否被删除
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAttractionId() {
		return attractionId;
	}

	public void setAttractionId(Long attractionId) {
		this.attractionId = attractionId;
	}

	public String getAttractionName() {
		return attractionName;
	}

	public void setAttractionName(String attractionName) {
		this.attractionName = attractionName;
	}

	public String getAttractionPortrait() {
		return attractionPortrait;
	}

	public void setAttractionPortrait(String attractionPortrait) {
		this.attractionPortrait = attractionPortrait;
	}

	public Long getRefId() {
		return refId;
	}

	public void setRefId(Long refId) {
		this.refId = refId;
	}

	public String getRefPortrait() {
		return refPortrait;
	}

	public void setRefPortrait(String refPortrait) {
		this.refPortrait = refPortrait;
	}

	public String getRefTitle() {
		return refTitle;
	}

	public void setRefTitle(String refTitle) {
		this.refTitle = refTitle;
	}

	public String getRefDigest() {
		return refDigest;
	}

	public void setRefDigest(String refDigest) {
		this.refDigest = refDigest;
	}

	public AttractionRefrenceType getRefType() {
		return refType;
	}

	public void setRefType(AttractionRefrenceType refType) {
		this.refType = refType;
	}

	public Long getProviderId() {
		return providerId;
	}

	public void setProviderId(Long providerId) {
		this.providerId = providerId;
	}

	public String getProviderNikename() {
		return providerNikename;
	}

	public void setProviderNikename(String providerNikename) {
		this.providerNikename = providerNikename;
	}

	public String getProviderPortrait() {
		return providerPortrait;
	}

	public void setProviderPortrait(String providerPortrait) {
		this.providerPortrait = providerPortrait;
	}

	public String getProviderEmail() {
		return providerEmail;
	}

	public void setProviderEmail(String providerEmail) {
		this.providerEmail = providerEmail;
	}

	public Date getCreateTime() {
		return CommonUtils.cloneDate(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = CommonUtils.cloneDate(createTime);
	}

	public Date getUpdateTime() {
		return CommonUtils.cloneDate(updateTime);
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = CommonUtils.cloneDate(updateTime);
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

}
